﻿namespace SjEntityClass
{
    /// <summary>
    /// 进项发票明细档
    ///</summary>
    [SugarTable("APBA_T")]
    public class ApbaT
    {
        /// <summary>
        /// 企业编号 
        ///</summary>
         [SugarColumn(ColumnName="APBAENT" ,IsPrimaryKey = true   )]
         public string Apbaent { get; set; }
        /// <summary>
        /// 文件号码 
        ///</summary>
         [SugarColumn(ColumnName="APBADOCNO" ,IsPrimaryKey = true   )]
         public string Apbadocno { get; set; }
        /// <summary>
        /// 账务归属组织 
        ///</summary>
         [SugarColumn(ColumnName="APBAORGA"    )]
         public string Apbaorga { get; set; }
        /// <summary>
        /// 发票类型 
        ///</summary>
         [SugarColumn(ColumnName="APBA001"    )]
         public string Apba001 { get; set; }
        /// <summary>
        /// 发票编号 
        ///</summary>
         [SugarColumn(ColumnName="APBA002"    )]
         public string Apba002 { get; set; }
        /// <summary>
        /// 发票号码 
        ///</summary>
         [SugarColumn(ColumnName="APBA003"    )]
         public string Apba003 { get; set; }
        /// <summary>
        /// 项次 
        ///</summary>
         [SugarColumn(ColumnName="APBASEQ" ,IsPrimaryKey = true   )]
         public long Apbaseq { get; set; }
        /// <summary>
        /// 来源作业 
        ///</summary>
         [SugarColumn(ColumnName="APBA004"    )]
         public string Apba004 { get; set; }
        /// <summary>
        /// 业务单号码 
        ///</summary>
         [SugarColumn(ColumnName="APBA005"    )]
         public string Apba005 { get; set; }
        /// <summary>
        /// 业务单项次 
        ///</summary>
         [SugarColumn(ColumnName="APBA006"    )]
         public long? Apba006 { get; set; }
        /// <summary>
        /// 产品编号 
        ///</summary>
         [SugarColumn(ColumnName="APBA007"    )]
         public string Apba007 { get; set; }
        /// <summary>
        /// 品名规格 
        ///</summary>
         [SugarColumn(ColumnName="APBA008"    )]
         public string Apba008 { get; set; }
        /// <summary>
        /// 单位 
        ///</summary>
         [SugarColumn(ColumnName="APBA009"    )]
         public string Apba009 { get; set; }
        /// <summary>
        /// 发票数量 
        ///</summary>
         [SugarColumn(ColumnName="APBA010"    )]
         public decimal? Apba010 { get; set; }
        /// <summary>
        /// 暂估账款数量 
        ///</summary>
         [SugarColumn(ColumnName="APBA011"    )]
         public decimal? Apba011 { get; set; }
        /// <summary>
        /// 正负值 
        ///</summary>
         [SugarColumn(ColumnName="APBA012"    )]
         public decimal? Apba012 { get; set; }
        /// <summary>
        /// 参考单号 
        ///</summary>
         [SugarColumn(ColumnName="APBA013"    )]
         public string Apba013 { get; set; }
        /// <summary>
        /// 单价 
        ///</summary>
         [SugarColumn(ColumnName="APBA014"    )]
         public decimal? Apba014 { get; set; }
        /// <summary>
        /// 税种 
        ///</summary>
         [SugarColumn(ColumnName="APBA015"    )]
         public string Apba015 { get; set; }
        /// <summary>
        /// 扣抵发票编号 
        ///</summary>
         [SugarColumn(ColumnName="APBA016"    )]
         public string Apba016 { get; set; }
        /// <summary>
        /// 扣抵蓝字发票号码 
        ///</summary>
         [SugarColumn(ColumnName="APBA017"    )]
         public string Apba017 { get; set; }
        /// <summary>
        /// 交易原币 
        ///</summary>
         [SugarColumn(ColumnName="APBA100"    )]
         public string Apba100 { get; set; }
        /// <summary>
        /// 原币税前金额 
        ///</summary>
         [SugarColumn(ColumnName="APBA103"    )]
         public decimal? Apba103 { get; set; }
        /// <summary>
        /// 原币税额 
        ///</summary>
         [SugarColumn(ColumnName="APBA104"    )]
         public decimal? Apba104 { get; set; }
        /// <summary>
        /// 原币含税总额 
        ///</summary>
         [SugarColumn(ColumnName="APBA105"    )]
         public decimal? Apba105 { get; set; }
        /// <summary>
        /// 发票汇率 
        ///</summary>
         [SugarColumn(ColumnName="APBA111"    )]
         public decimal? Apba111 { get; set; }
        /// <summary>
        /// 发票币税前金额 
        ///</summary>
         [SugarColumn(ColumnName="APBA113"    )]
         public decimal? Apba113 { get; set; }
        /// <summary>
        /// 发票币税额 
        ///</summary>
         [SugarColumn(ColumnName="APBA114"    )]
         public decimal? Apba114 { get; set; }
        /// <summary>
        /// 发票币含税总额 
        ///</summary>
         [SugarColumn(ColumnName="APBA115"    )]
         public decimal? Apba115 { get; set; }
        /// <summary>
        /// 自定义字段(文本)001 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD001"    )]
         public string Apbaud001 { get; set; }
        /// <summary>
        /// 自定义字段(文本)002 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD002"    )]
         public string Apbaud002 { get; set; }
        /// <summary>
        /// 自定义字段(文本)003 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD003"    )]
         public string Apbaud003 { get; set; }
        /// <summary>
        /// 自定义字段(文本)004 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD004"    )]
         public string Apbaud004 { get; set; }
        /// <summary>
        /// 自定义字段(文本)005 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD005"    )]
         public string Apbaud005 { get; set; }
        /// <summary>
        /// 自定义字段(文本)006 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD006"    )]
         public string Apbaud006 { get; set; }
        /// <summary>
        /// 自定义字段(文本)007 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD007"    )]
         public string Apbaud007 { get; set; }
        /// <summary>
        /// 自定义字段(文本)008 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD008"    )]
         public string Apbaud008 { get; set; }
        /// <summary>
        /// 自定义字段(文本)009 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD009"    )]
         public string Apbaud009 { get; set; }
        /// <summary>
        /// 自定义字段(文本)010 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD010"    )]
         public string Apbaud010 { get; set; }
        /// <summary>
        /// 自定义字段(数字)011 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD011"    )]
         public decimal? Apbaud011 { get; set; }
        /// <summary>
        /// 自定义字段(数字)012 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD012"    )]
         public decimal? Apbaud012 { get; set; }
        /// <summary>
        /// 自定义字段(数字)013 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD013"    )]
         public decimal? Apbaud013 { get; set; }
        /// <summary>
        /// 自定义字段(数字)014 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD014"    )]
         public decimal? Apbaud014 { get; set; }
        /// <summary>
        /// 自定义字段(数字)015 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD015"    )]
         public decimal? Apbaud015 { get; set; }
        /// <summary>
        /// 自定义字段(数字)016 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD016"    )]
         public decimal? Apbaud016 { get; set; }
        /// <summary>
        /// 自定义字段(数字)017 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD017"    )]
         public decimal? Apbaud017 { get; set; }
        /// <summary>
        /// 自定义字段(数字)018 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD018"    )]
         public decimal? Apbaud018 { get; set; }
        /// <summary>
        /// 自定义字段(数字)019 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD019"    )]
         public decimal? Apbaud019 { get; set; }
        /// <summary>
        /// 自定义字段(数字)020 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD020"    )]
         public decimal? Apbaud020 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)021 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD021"    )]
         public DateTime? Apbaud021 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)022 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD022"    )]
         public DateTime? Apbaud022 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)023 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD023"    )]
         public DateTime? Apbaud023 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)024 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD024"    )]
         public DateTime? Apbaud024 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)025 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD025"    )]
         public DateTime? Apbaud025 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)026 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD026"    )]
         public DateTime? Apbaud026 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)027 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD027"    )]
         public DateTime? Apbaud027 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)028 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD028"    )]
         public DateTime? Apbaud028 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)029 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD029"    )]
         public DateTime? Apbaud029 { get; set; }
        /// <summary>
        /// 自定义字段(日期时间)030 
        ///</summary>
         [SugarColumn(ColumnName="APBAUD030"    )]
         public DateTime? Apbaud030 { get; set; }
        /// <summary>
        /// 本次开票金额 
        ///</summary>
         [SugarColumn(ColumnName="APBA018"    )]
         public decimal? Apba018 { get; set; }
        /// <summary>
        /// 预付已开发票 
        ///</summary>
         [SugarColumn(ColumnName="APBA019"    )]
         public string Apba019 { get; set; }
        /// <summary>
        /// 期别 
        ///</summary>
         [SugarColumn(ColumnName="APBA020"    )]
         public long? Apba020 { get; set; }
        /// <summary>
        /// 备注 
        ///</summary>
         [SugarColumn(ColumnName="APBAUA001"    )]
         public string Apbaua001 { get; set; }
        /// <summary>
        /// 连杆长度 
        ///</summary>
         [SugarColumn(ColumnName="APBAUA002"    )]
         public string Apbaua002 { get; set; }
    }
}
